import http from '../utils/http'
/* 
*供应商相关接口
*/
//添加供应商
export function addSupply(params) {
	return http.post('addSupply', params)
}
//编辑供应商
export function editSupply(params) {
	return http.post('editSupply', params)
}
//设置供应商状态
export function setSupplyStatus(params) {
	return http.post('setSupplyStatus', params)
}
//供应商列表
export function supplyList(params) {
	return http.get('supplyList', params)
}
//供应商 详情
export function detailSupply(params) {
	return http.get('detailSupply', params)
}
//重置密码
export function repwdSupply(params) {
	return http.post('repwdSupply', params)
}

//合同
//列表
export function contractList(params) {
	return http.get('contractList', params)
}
//上传合同
export function uploadContract(params) {
	return http.post('uploadContract', params)
}
//删除合同
export function deleteContract(params) {
	return http.get('deleteContract', params)
}